package com.topvision.service.zwan;

import com.topvision.model.zwan.Companytrunkinfo;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author shengwm
 * @email 179653076@qq.com
 * @date 2017-08-10 17:59:21
 */
public interface CompanytrunkinfoService {
	
	Companytrunkinfo queryObject(String portnumber);
	
	List<Companytrunkinfo> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(Companytrunkinfo companytrunkinfo);
	
	void update(Companytrunkinfo companytrunkinfo);
	
	void delete(String portnumber);
	
	void deleteBatch(String[] portnumbers);

	int activeDevice(Map<String, Object> params);
}
